﻿namespace fCloud.SensorApi.Models.Dto;

public class DeviceWithSensorInfoDto
{
    // 来自 Device 表
    public string Name { get; set; }
    public string TName { get; set; }
    public string Location { get; set; }
    public string Status { get; set; }

    // 来自 Sensor 表
    public string? SensorType { get; set; }
    public string? SensorMode { get; set; }
    public string? GatewayId { get; set; }

    // 来自 Redis 实时传感器数据
    public double? Temper { get; set; }
    public double? Dens { get; set; }
    public double? Vis { get; set; }
    public double? Vis40 { get; set; }
    public double? Diel { get; set; }
    public double? Ppm { get; set; }
    public double? Aw { get; set; }
    public double? Mo { get; set; }
    public double? Par1 { get; set; }
    public double? Par2 { get; set; }
    public double? Par3 { get; set; }
    public double? Par4 { get; set; }
    public double? Par5 { get; set; }
    public double? Par6 { get; set; }
    public double? Par7 { get; set; }
    public double? Par8 { get; set; }
    public double? Class1 { get; set; }
    public double? Class2 { get; set; }
    public double? Class3 { get; set; }
    public double? Class4 { get; set; }
    public double? Class5 { get; set; }
    public double? Class6 { get; set; }
    public double? ClassTotal { get; set; }
    public double? Standard { get; set; }
    public double? Fe1 { get; set; }
    public double? Fe2 { get; set; }
    public double? Fe3 { get; set; }
    public double? Fe4 { get; set; }
    public double? Fe5 { get; set; }
    public double? Fe6 { get; set; }
    public double? Fe7 { get; set; }
    public double? Fe8 { get; set; }
    public double? NFe1 { get; set; }
    public double? NFe2 { get; set; }
    public double? NFe3 { get; set; }
    public double? NFe4 { get; set; }
    public double? NFe5 { get; set; }
    public double? Fe { get; set; }
    public double? NFe { get; set; }
    public double? State { get; set; }
    public double? Press { get; set; }
    public double? Speed { get; set; }
}
